gtk4.git
10 years agoExpand the docs for gtk_window_set_default_size()
Matthias Clasen [Mon, 15 Feb 2016 13:23:12 +0000 (08:23 -0500)]
Expand the docs for gtk_window_set_default_size()

Mention that this function should be used together with
gtk_window_get_size() when saving and restoring window sizes.

10 years agoplaces sidebar: use a box
Matthias Clasen [Mon, 15 Feb 2016 13:02:27 +0000 (08:02 -0500)]
places sidebar: use a box

No need for a grid here. Patch by Timm Bäder.

10 years agoAdwaita: sidebar background-color
Lapo Calamandrei [Mon, 15 Feb 2016 12:52:41 +0000 (13:52 +0100)]
Adwaita: sidebar background-color

it was covered by the contained list background, which is now
transparent.

10 years agoAdwaita: no rounded corner for tiled backdrop windows
Lapo Calamandrei [Mon, 15 Feb 2016 12:30:37 +0000 (13:30 +0100)]
Adwaita: no rounded corner for tiled backdrop windows

fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067

10 years agoRevert "Adwaita: no rounded corners for backdrop tiled windows"
Lapo Calamandrei [Mon, 15 Feb 2016 12:28:46 +0000 (13:28 +0100)]
Revert "Adwaita: no rounded corners for backdrop tiled windows"

This reverts commit aa4b385398e99fed6dd71791eb5a9e2e5ea4db9d.
Erroneusly pushed unfinished stuff...

10 years agoAdwaita: shortcutswindow fixes
Lapo Calamandrei [Mon, 15 Feb 2016 12:07:37 +0000 (13:07 +0100)]
Adwaita: shortcutswindow fixes

use darker text and tweak the keycap vertical centering,
addresses https://bugzilla.gnome.org/show_bug.cgi?id=761778

10 years agoAdwaita: no rounded corners for backdrop tiled windows
Lapo Calamandrei [Mon, 15 Feb 2016 11:34:55 +0000 (12:34 +0100)]
Adwaita: no rounded corners for backdrop tiled windows

fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067

10 years agogtk/gtkentry.c: Fix build on pre-C99
Chun-wei Fan [Mon, 15 Feb 2016 09:22:00 +0000 (17:22 +0800)]
gtk/gtkentry.c: Fix build on pre-C99

This file now uses nearbyint(), so include fallback-c89.c so that
compilers that don't provide the function will not get upset.

10 years agoFix 'make dist'
Chun-wei Fan [Mon, 15 Feb 2016 06:34:12 +0000 (14:34 +0800)]
Fix 'make dist'

10 years agocellrenderertoggle: Use "check" and "radio" names
Benjamin Otte [Mon, 15 Feb 2016 03:40:03 +0000 (04:40 +0100)]
cellrenderertoggle: Use "check" and "radio" names

... instead of just adding a style class.

10 years agowin32 theme: Remove a bunch of workarounds that are no longer necessary
Benjamin Otte [Mon, 15 Feb 2016 03:28:13 +0000 (04:28 +0100)]
win32 theme: Remove a bunch of workarounds that are no longer necessary

10 years agowin32 theme: Draw checkmarks and radiomarks properly
Benjamin Otte [Mon, 15 Feb 2016 00:47:43 +0000 (01:47 +0100)]
win32 theme: Draw checkmarks and radiomarks properly

Instead of drawing them as the background, use -gtk-icon-source.
Also size the marks properly.

Because Windows doesn't have indeterminate radio buttons, use a
cross-fade between checked and unchecked radiomark instead. But
unlike previously, use CSS cross-fade() syntax to draw it.

10 years agocssimagecrossfade: Fix order of images when parsing/printing
Benjamin Otte [Mon, 15 Feb 2016 00:46:29 +0000 (01:46 +0100)]
cssimagecrossfade: Fix order of images when parsing/printing

The syntax is cross-fade(<percentage> <end>, <start>), not the
other way around. That's because the percentage refers to the end image.

10 years agowin32: Add support for -gtk-win32-part-width/height to CSS
Benjamin Otte [Sun, 14 Feb 2016 23:49:29 +0000 (00:49 +0100)]
win32: Add support for -gtk-win32-part-width/height to CSS

It's unused by now, but I want it for min-width of checks/radios.

10 years agowin32 theme: Don't set the color on *
Benjamin Otte [Sun, 14 Feb 2016 19:36:38 +0000 (20:36 +0100)]
win32 theme: Don't set the color on *

Instead, set it on .background, so it gets inherited everywhere.

10 years agowin32 theme: Use same spinner as Adwaita
Benjamin Otte [Sun, 14 Feb 2016 17:01:07 +0000 (18:01 +0100)]
win32 theme: Use same spinner as Adwaita

10 years agowin32: Update color handling to recent GtkWin32Theme changes
Benjamin Otte [Sun, 14 Feb 2016 15:18:56 +0000 (16:18 +0100)]
win32: Update color handling to recent GtkWin32Theme changes

10 years agowin32: Canonicalize theme-name before adding to hash table
Benjamin Otte [Sun, 14 Feb 2016 03:51:37 +0000 (04:51 +0100)]
win32: Canonicalize theme-name before adding to hash table

This way, we get rid of du0plicates.

10 years agowin32: Add gtk_win32_theme_parse()
Benjamin Otte [Sun, 14 Feb 2016 00:11:57 +0000 (01:11 +0100)]
win32: Add gtk_win32_theme_parse()

So all places can use this function instead of parsing things themselves.

10 years agocss: Add a number value handling win32 sizes
Benjamin Otte [Sat, 13 Feb 2016 23:54:37 +0000 (00:54 +0100)]
css: Add a number value handling win32 sizes

10 years agoAdwaita: fix treeview dnd column headers
Lapo Calamandrei [Sun, 14 Feb 2016 21:30:32 +0000 (22:30 +0100)]
Adwaita: fix treeview dnd column headers

10 years agoAdwaita: flatten up search bars and inline toolbars
Lapo Calamandrei [Sun, 14 Feb 2016 20:48:31 +0000 (21:48 +0100)]
Adwaita: flatten up search bars and inline toolbars

10 years agoAdwaita: image-button sizing fix
Lapo Calamandrei [Sun, 14 Feb 2016 20:06:38 +0000 (21:06 +0100)]
Adwaita: image-button sizing fix

10 years agoAdwaita: Fix a padding problem in action bars
Matthias Clasen [Sun, 14 Feb 2016 19:54:49 +0000 (14:54 -0500)]
Adwaita: Fix a padding problem in action bars

Padding adds up. A selector like "actionbar box" matches any box
inside an actionbar, so nested boxes accumulate more and more
padding. The intention clearly was to just give padding to the
topmost box that is the direct child of the actionbar's revealer.

https://bugzilla.gnome.org/show_bug.cgi?id=762036

10 years agogtk3-demo: Fontify all source files
Matthias Clasen [Sun, 14 Feb 2016 15:49:22 +0000 (10:49 -0500)]
gtk3-demo: Fontify all source files

10 years agogtk-demo: Streamline application
Matthias Clasen [Sun, 14 Feb 2016 14:39:15 +0000 (09:39 -0500)]
gtk-demo: Streamline application

Avoid the odd #ifdef STANDALONE construction; we can show
multiple source files nowadays.

10 years agogtk-demo: Fix the size saving for CSD
Matthias Clasen [Sun, 14 Feb 2016 14:29:55 +0000 (09:29 -0500)]
gtk-demo: Fix the size saving for CSD

We need to use gtk_window_get_size to get the correct size that
we can pass to gtk_window_set_default_size regardless of CSD
or not.

10 years agoAdwaita: correct spacing for mixed buttons
Lapo Calamandrei [Sun, 14 Feb 2016 15:38:42 +0000 (16:38 +0100)]
Adwaita: correct spacing for mixed buttons

10 years agopaned: Fix drawing
Benjamin Otte [Sun, 14 Feb 2016 15:10:07 +0000 (16:10 +0100)]
paned: Fix drawing

Clip children to their window's size. That way no overdraw happens for
these widgets. But don't clip the handle.

We might in the future consider not clipping un-shrinkable children.

https://bugzilla.gnome.org/show_bug.cgi?id=762021

10 years agopaned: Use content allocation instead of widget allocation
Benjamin Otte [Sun, 14 Feb 2016 15:07:06 +0000 (16:07 +0100)]
paned: Use content allocation instead of widget allocation

We don't want to include padding and borders in our calculations
involving the handle.

10 years agopaned: rtl-flip with the correct rectangle
Benjamin Otte [Sun, 14 Feb 2016 14:52:19 +0000 (15:52 +0100)]
paned: rtl-flip with the correct rectangle

10 years agoAdwaita: don't set a border for drop targets
Lapo Calamandrei [Sun, 14 Feb 2016 13:44:57 +0000 (14:44 +0100)]
Adwaita: don't set a border for drop targets

to avoid active drop targets to grow.

10 years agoAdwaita: scss cosmetic changes
Lapo Calamandrei [Sun, 14 Feb 2016 13:33:30 +0000 (14:33 +0100)]
Adwaita: scss cosmetic changes

10 years agoAdwaita: fix scale popup button size
Lapo Calamandrei [Sun, 14 Feb 2016 13:21:01 +0000 (14:21 +0100)]
Adwaita: fix scale popup button size

10 years agoFix a typo
Michael Catanzaro [Sun, 14 Feb 2016 04:14:55 +0000 (22:14 -0600)]
Fix a typo

10 years agogtk-demo: Add window size saving example
Matthias Clasen [Sun, 14 Feb 2016 03:53:16 +0000 (22:53 -0500)]
gtk-demo: Add window size saving example

Implement the recommendations from
https://wiki.gnome.org/HowDoI/SaveWindowState
in the Application Class example.

10 years agogtk-demo: modernize the application demo
Matthias Clasen [Sun, 14 Feb 2016 02:46:40 +0000 (21:46 -0500)]
gtk-demo: modernize the application demo

Subclass GtkApplication and GtkApplicationWindow
and use a template.

10 years agoAdwaita: try being smarter wrt extending buttons.
Lapo Calamandrei [Sun, 14 Feb 2016 01:35:28 +0000 (02:35 +0100)]
Adwaita: try being smarter wrt extending buttons.

10 years agoRevert "Adwaita: remove an unneded selector."
Lapo Calamandrei [Sun, 14 Feb 2016 00:20:02 +0000 (01:20 +0100)]
Revert "Adwaita: remove an unneded selector."

This reverts commit 05dff4ccb014e32b572505fb098006aa80a72387.
It was needed actually...

10 years agoAdwaita: remove an unneded selector.
Lapo Calamandrei [Sat, 13 Feb 2016 23:34:29 +0000 (00:34 +0100)]
Adwaita: remove an unneded selector.

10 years agoAdwaita: notebook arrow styling.
Lapo Calamandrei [Sat, 13 Feb 2016 23:25:04 +0000 (00:25 +0100)]
Adwaita: notebook arrow styling.

10 years agowidget-factory: Add an inline toolbar example
Matthias Clasen [Sat, 13 Feb 2016 22:11:59 +0000 (17:11 -0500)]
widget-factory: Add an inline toolbar example

This pattern is still used in applications, so we should have it
represented here to keep it working well.

10 years agoDocuemnt calc() support in CSS
Matthias Clasen [Sat, 13 Feb 2016 04:40:26 +0000 (23:40 -0500)]
Docuemnt calc() support in CSS

10 years agoUpdated Chinese (Taiwan) translation
Chao-Hsiung Liao [Sat, 13 Feb 2016 06:19:31 +0000 (06:19 +0000)]
Updated Chinese (Taiwan) translation

10 years agoUpdated Chinese (Taiwan) translation
Chao-Hsiung Liao [Sat, 13 Feb 2016 06:17:15 +0000 (06:17 +0000)]
Updated Chinese (Taiwan) translation

10 years agotestsuite: Don't use deprecated APIs
Benjamin Otte [Sat, 13 Feb 2016 05:41:29 +0000 (06:41 +0100)]
testsuite: Don't use deprecated APIs

10 years agotests: Port testlockbutton to GTask
Benjamin Otte [Sat, 13 Feb 2016 05:26:42 +0000 (06:26 +0100)]
tests: Port testlockbutton to GTask

Get rid of deprecations that way.

10 years agocss: Implement transitions for numbers of different units
Benjamin Otte [Sat, 13 Feb 2016 03:47:51 +0000 (04:47 +0100)]
css: Implement transitions for numbers of different units

We now can transition from 10px to 100%.

Note that this requires a teensy tiny hack in
gtk_css_value_transition(), but so be it.

10 years agocalc: Allow subterms with '(' ')' bracketing
Benjamin Otte [Sat, 13 Feb 2016 03:12:45 +0000 (04:12 +0100)]
calc: Allow subterms with '(' ')' bracketing

Some more tests included.

10 years agocss: Add support for '*' and '/' to calc()
Benjamin Otte [Sat, 13 Feb 2016 02:56:12 +0000 (03:56 +0100)]
css: Add support for '*' and '/' to calc()

More tests are included.

10 years agocss: Add API to handle order when printing calc()
Benjamin Otte [Sat, 13 Feb 2016 01:31:47 +0000 (02:31 +0100)]
css: Add API to handle order when printing calc()

Also, add some tests and update old ones to print calc() statements
correctly.

10 years agocss: Add support for sums to calc()
Benjamin Otte [Fri, 12 Feb 2016 06:59:06 +0000 (07:59 +0100)]
css: Add support for sums to calc()

This requires adding code to do math on number values:
  gtk_css_number_value_multiply()
and
  gtk_css_number_value_try_add()
were added to achieve that.

Some tests are included.

10 years agocss: Add initial support for calc()
Benjamin Otte [Fri, 12 Feb 2016 05:56:14 +0000 (06:56 +0100)]
css: Add initial support for calc()

So far, calc() only supports literals, ie it's completely useless.

10 years agocss: Add gtk_css_number_value_can_parse()
Benjamin Otte [Fri, 12 Feb 2016 05:45:06 +0000 (06:45 +0100)]
css: Add gtk_css_number_value_can_parse()

Use it instead of _gtk_css_parser_has_number().

We need that once we introduce calc() support.

10 years agocss: Turn number values into a virtual type
Benjamin Otte [Fri, 12 Feb 2016 05:25:50 +0000 (06:25 +0100)]
css: Turn number values into a virtual type

GtkCssNumberValue is now a base class for numbers.

Actual numbers are now implemented in GtkCssDimensionValue. The name is
borrowed from the CSS spec, so there.

10 years agocssnumbervalue: Remove gtk_css_number_value_get_unit()
Benjamin Otte [Fri, 12 Feb 2016 03:40:35 +0000 (04:40 +0100)]
cssnumbervalue: Remove gtk_css_number_value_get_unit()

This is in preparation for calc(), as calc(50% - 5px) is valid CSS
but has 2 units. Instead, add a function to query a value's dimension
(so we can differentiate lengths from numbers) and add a function to
query if the value contains percentages.

10 years agolinear-gradient: Remove the hack using NUMBER
Benjamin Otte [Fri, 12 Feb 2016 03:09:44 +0000 (04:09 +0100)]
linear-gradient: Remove the hack using NUMBER

Instead, add a "side" member to the struct that keeps sides explicitly.

10 years agocssimageradial: Don't print 2 spaces
Benjamin Otte [Fri, 12 Feb 2016 20:22:23 +0000 (21:22 +0100)]
cssimageradial: Don't print 2 spaces

10 years agogadget: Be careful in geometry calculations
Matthias Clasen [Sat, 13 Feb 2016 03:26:04 +0000 (22:26 -0500)]
gadget: Be careful in geometry calculations

Margins can be negative, and if we are not careful, then
content+padding+margin can end up with negative dimensions,
which can upset pixman and others. This commit ensures
that a gadget will not request or draw boxes with negative
dimensions, and get_border_allocation and get_content_allocation
will not return boxes with negative dimensions.

This fixes a crash in the paned separator drawing code that
can be reproduced by setting separator padding to 0.

https://bugzilla.gnome.org/show_bug.cgi?id=759657

10 years agofile chooser: Avoid nonworking search+save combinations
Matthias Clasen [Sat, 13 Feb 2016 03:05:40 +0000 (22:05 -0500)]
file chooser: Avoid nonworking search+save combinations

With the location entry up in the header bar in save mode, we can
end up with the search model being in use when the user types in
the location entry. In this case, we don't make the Save button
sensitive as we should.

Having two entries in the dialog is somewhat confusing anyway,
so just stop the search when the user starts typing in the location
entry.

https://bugzilla.gnome.org/show_bug.cgi?id=761757

10 years agofile chooser: Use the right model when getting the selection
Matthias Clasen [Sat, 13 Feb 2016 01:35:26 +0000 (20:35 -0500)]
file chooser: Use the right model when getting the selection

We don't need to make assumptions about which model is currently
used since gtk_tree_selection_get_selection hands us the model.

https://bugzilla.gnome.org/show_bug.cgi?id=761757

10 years agoAdwaita: Insensitive notebook arrows
Matthias Clasen [Fri, 12 Feb 2016 23:24:20 +0000 (18:24 -0500)]
Adwaita: Insensitive notebook arrows

Just make insensitive notebook arrows gray until better
styling appears.

https://bugzilla.gnome.org/show_bug.cgi?id=761716

10 years agopaned: Draw handle before children
Matthias Clasen [Fri, 12 Feb 2016 23:09:41 +0000 (18:09 -0500)]
paned: Draw handle before children

10 years agox11: Avoid setting has_pointer_focus if a EWMH compliant WM is present
Carlos Garnacho [Fri, 12 Feb 2016 20:59:29 +0000 (21:59 +0100)]
x11: Avoid setting has_pointer_focus if a EWMH compliant WM is present

This is mostly useful to have focus behave sanely on lack of WM, so avoid
any check there if we're positive there is a WM handling focus.

https://bugzilla.gnome.org/show_bug.cgi?id=677329

10 years agopaned: Don't overdraw
Matthias Clasen [Fri, 12 Feb 2016 20:01:58 +0000 (15:01 -0500)]
paned: Don't overdraw

When moving children 'off', we can't allow them to draw outside
the paned allocation, so clip when drawing.

https://bugzilla.gnome.org/show_bug.cgi?id=761903

10 years agogtk-demo: spinbutton and menubar examples
Caolán McNamara [Thu, 11 Feb 2016 17:22:31 +0000 (17:22 +0000)]
gtk-demo: spinbutton and menubar examples

https://bugzilla.gnome.org/show_bug.cgi?id=761900

10 years agoAdwaita: make popovers less 1995
Jakub Steiner [Fri, 12 Feb 2016 13:38:03 +0000 (14:38 +0100)]
Adwaita: make popovers less 1995

- use regular bgcolor

10 years agoRevert "Remove _gtk_box_get_children"
Carlos Garcia Campos [Fri, 12 Feb 2016 12:21:14 +0000 (13:21 +0100)]
Revert "Remove _gtk_box_get_children"

This reverts commit 572e9a04027e213082a5b257e5d662a5daa32667.

_gtk_box_get_children was not doing exactly the same than
gtk_container_get_children does, because the latter uses the forall
implementation of GtkBox that takes into account the children pack mode while
the former just iterated the list of children. This broke the order of
the buttons in a GtkButtonBox when they were packaged with PACK_END.

10 years agoplacessidebar: Increase padding
Matthias Clasen [Fri, 12 Feb 2016 03:51:35 +0000 (22:51 -0500)]
placessidebar: Increase padding

This should bring us back to the look of 3.18.

https://bugzilla.gnome.org/show_bug.cgi?id=761791

10 years agotreeview: Make sure the editing widget's top left is always visible
Colomban Wendling [Wed, 10 Feb 2016 18:43:34 +0000 (19:43 +0100)]
treeview: Make sure the editing widget's top left is always visible

https://bugzilla.gnome.org/show_bug.cgi?id=761838

10 years agoAdwaita: Don't grow flat entries
Matthias Clasen [Fri, 12 Feb 2016 03:35:11 +0000 (22:35 -0500)]
Adwaita: Don't grow flat entries

Entries in treeviews and similar embedded situations don't really
work well if their height is forced to be big. Take out the min-height
for these.

https://bugzilla.gnome.org/show_bug.cgi?id=761686

10 years agocannot not -> must
Caolán McNamara [Tue, 26 Jan 2016 12:08:01 +0000 (12:08 +0000)]
cannot not -> must

https://bugzilla.gnome.org/show_bug.cgi?id=761826

10 years agoplacesview: Fix some minor issues
Matthias Clasen [Fri, 12 Feb 2016 03:15:43 +0000 (22:15 -0500)]
placesview: Fix some minor issues

Make the button not grow too big, and ensure that the actionbar
has a background.

https://bugzilla.gnome.org/show_bug.cgi?id=761792

10 years agoAdwaita: tone down treeview separators
Matthias Clasen [Fri, 12 Feb 2016 03:03:47 +0000 (22:03 -0500)]
Adwaita: tone down treeview separators

10 years agoFix Quartz clipboard image retrieval.
John Ralls [Thu, 11 Feb 2016 21:49:07 +0000 (13:49 -0800)]
Fix Quartz clipboard image retrieval.

It does no good to iterate through a series of mime types to call a
function when the eventually-called function,
_gtk_quartz_get_selection_data_from_pasteboard() in this case, gives the
wrong answer and stops the iteration on all but one especially if that
one isn't first.

The one is "image/tiff" and the quartz pasteboard function will return
any image type Quartz knows about for it, so lose the iteration and use
only "image/tiff".

10 years agoAdwaita: fix bogus selector...
Lapo Calamandrei [Thu, 11 Feb 2016 17:38:31 +0000 (18:38 +0100)]
Adwaita: fix bogus selector...

...ruining the indeterminate check animation

10 years agoAdwaita: animate check and radios
Lapo Calamandrei [Thu, 11 Feb 2016 17:27:25 +0000 (18:27 +0100)]
Adwaita: animate check and radios

10 years agomir: Add C++ guards
Emmanuele Bassi [Thu, 11 Feb 2016 11:59:12 +0000 (11:59 +0000)]
mir: Add C++ guards

Avoid missing symbols when compiling C++ including the GDK Mir backend
header.

https://bugzilla.gnome.org/show_bug.cgi?id=761829

10 years agonotebook: fix arrow states
Matthias Clasen [Thu, 11 Feb 2016 11:47:28 +0000 (06:47 -0500)]
notebook: fix arrow states

Some code was confusing 0 with ARROW_NONE, causing us to not properly
update the state of the arrow gadgets.

10 years agoinspector: Don't use unused variables
Benjamin Otte [Thu, 11 Feb 2016 03:14:56 +0000 (04:14 +0100)]
inspector: Don't use unused variables

Windows-specific refactorings broke this.

10 years agowin32: Move init code into windows-specific code
Benjamin Otte [Thu, 11 Feb 2016 03:14:28 +0000 (04:14 +0100)]
win32: Move init code into windows-specific code

Avoids warnings about undefined functions on non-windows.

10 years agowin32 theme: Add a GtkWin32Theme object
Benjamin Otte [Mon, 8 Feb 2016 03:07:40 +0000 (04:07 +0100)]
win32 theme: Add a GtkWin32Theme object

This object wraps a HTHEME and takes care of recreating it on theme changes.

10 years agowin32: Capture WM_THEMECHANGED
Benjamin Otte [Mon, 8 Feb 2016 01:49:34 +0000 (02:49 +0100)]
win32: Capture WM_THEMECHANGED

We're not doing anything useful with it yet. This will follow in the coming commits.

10 years agowin32: Remove XP-specific code
Benjamin Otte [Mon, 8 Feb 2016 01:26:26 +0000 (02:26 +0100)]
win32: Remove XP-specific code

We don't support XP anymore.

10 years agowin32: Remove unused functions / header includes
Benjamin Otte [Mon, 8 Feb 2016 01:26:07 +0000 (02:26 +0100)]
win32: Remove unused functions / header includes

10 years agowin32: Always pass a window to the default event filters
Benjamin Otte [Sun, 7 Feb 2016 22:48:46 +0000 (23:48 +0100)]
win32: Always pass a window to the default event filters

This has to happen or the event filter cannot identify what type
of display the event is from (ie if it's an XEvent, a broadway
event or a win32 MSG.

10 years agotestsuite: No warnings on type conversions please
Benjamin Otte [Sun, 7 Feb 2016 19:14:02 +0000 (20:14 +0100)]
testsuite: No warnings on type conversions please

long is 32bit on win64, so it's int cast to pointer of different size, and gcc doesn't like that.

10 years agofilechoosernativewin32: Remove unused variables
Benjamin Otte [Sun, 7 Feb 2016 18:20:09 +0000 (19:20 +0100)]
filechoosernativewin32: Remove unused variables

10 years agoimcontextsimple: Remove unused variable on win32
Benjamin Otte [Sun, 7 Feb 2016 18:19:36 +0000 (19:19 +0100)]
imcontextsimple: Remove unused variable on win32

10 years agotestgtk: Compile without warnings on win32
Benjamin Otte [Sun, 7 Feb 2016 18:18:18 +0000 (19:18 +0100)]
testgtk: Compile without warnings on win32

10 years agotests: Remove unused variable
Benjamin Otte [Sun, 7 Feb 2016 18:18:00 +0000 (19:18 +0100)]
tests: Remove unused variable

10 years agowin32 theme: Get rid of deprecated style properties
Benjamin Otte [Sun, 7 Feb 2016 03:11:55 +0000 (04:11 +0100)]
win32 theme: Get rid of deprecated style properties

That's pretty easy, because we can just delete them. The theme is broken either way.

10 years agowin32 theme: Replace pseudoclasses with undeprecated ones
Benjamin Otte [Sun, 7 Feb 2016 03:00:46 +0000 (04:00 +0100)]
win32 theme: Replace pseudoclasses with undeprecated ones

10 years agowin32 theme: Do a quick'n'dirty search/replace
Benjamin Otte [Sun, 7 Feb 2016 02:54:17 +0000 (03:54 +0100)]
win32 theme: Do a quick'n'dirty search/replace

Try to replace the old style names with then new style names.

The theme is still entirely way too broken. But at least one can see something.

10 years agowin32: Remove _gdk_display usge from dnd code
Benjamin Otte [Sat, 6 Feb 2016 05:35:41 +0000 (06:35 +0100)]
win32: Remove _gdk_display usge from dnd code

10 years agowin32: Make cursor code work without _gdk_display
Benjamin Otte [Sat, 6 Feb 2016 04:53:51 +0000 (05:53 +0100)]
win32: Make cursor code work without _gdk_display

10 years agowin32: Stop using _gdk_display global in device code
Benjamin Otte [Sat, 6 Feb 2016 04:46:09 +0000 (05:46 +0100)]
win32: Stop using _gdk_display global in device code

Use gdk_device_get_display() instead.

10 years agowin32embedwidget: Mark deprecated sections
Benjamin Otte [Sat, 6 Feb 2016 04:23:32 +0000 (05:23 +0100)]
win32embedwidget: Mark deprecated sections

10 years agofilechoosernativewin32: Silence gcc
Benjamin Otte [Sat, 6 Feb 2016 03:33:50 +0000 (04:33 +0100)]
filechoosernativewin32: Silence gcc

10 years agofilechoosernativewin32: Add missing return type
Benjamin Otte [Sat, 6 Feb 2016 03:33:14 +0000 (04:33 +0100)]
filechoosernativewin32: Add missing return type

Looks like a line accidentally was deleted there.